package org.dtrd.modules.flup.entity.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author qr
 * @date 2021/12/21 12:33
 */
@ApiModel("设置复诊模版内容的请求对象")
@Getter
@Setter
public class FlupTemplateProjectRlRequest {

    @NotNull
    @Min(value = 1)
    @ApiModelProperty("复诊模版id")
    private Integer templateId;

    @NotEmpty
    @ApiModelProperty("复诊模版项目id集合")
    private List<Integer> projectIds;
}
